<%@ taglib uri="http://eos.primeton.com/tags/logic" prefix="l"%>
<%@ taglib uri="http://eos.primeton.com/tags/bean" prefix="b"%>
<%@ taglib uri="http://eos.primeton.com/tags/html" prefix="h"%>
<%@page import="com.eos.data.datacontext.DataContextManager"%>
<%@page import="com.eos.data.datacontext.IMUODataContext"%>
<%@page import="com.eos.data.datacontext.IUserObject"%>
<%@page import="java.util.Map"%>
<%
	String skin="default";
	String aaa="";
	String contextPath=request.getContextPath();
	IMUODataContext muo = DataContextManager.current().getMUODataContext();
	IUserObject userobject;
	if (muo != null) {
				userobject = muo.getUserObject();
				if (userobject != null) {
					String ip = userobject.getUserRemoteIP();
					String userName = userobject.getUserName();
					Map map=userobject.getAttributes();
					if(map!=null && map.get("authmode")!=null){
					skin=map.get("authmode").toString();
					aaa=map.get("authmode").toString();
					}
				}
	}
	double randomNum = Math.random();
	
	
%>



<link id="css_style" rel="stylesheet" type="text/css" href="<%=contextPath%>/common_v2/skins/styles/nui/themes/red/style.css"/>
<link id="css_icon" rel="stylesheet" type="text/css" href="<%=contextPath%>/common_v2/skins/styles/nui/themes/red/icons.css"/>
<link id="css_miniui" rel="stylesheet" type="text/css" href="<%=contextPath%>/common_v2/skins/styles/nui/themes/red/miniui.css"/>
<%-- <link id="css_miniui" rel="stylesheet" type="text/css" href="<%=contextPath%>/common_v2/skins/styles/nui/themes/red/orange.css"/> --%>
<link id="css_nui" rel="stylesheet" type="text/css" href="<%=contextPath%>/common_v2/skins/styles/nui/themes/red/nui-ext.css"/>

<script type="text/javascript" src="<%=contextPath%>/common_v2/skins/styles/nui/nui.js"></script>
<script type="text/javascript" src="<%=contextPath%>/common_v2/skins/styles/nui/locale/zh_CN.js"></script>
<script type="text/javascript" src="<%=contextPath%>/common_v2/skins/styles/nui/jquery/jquery.nicescroll.js"></script>
<!-- 其它常用js函数，包括字段属性控制、时间判断、金额大写转化（含负数）等 -->
<script charset="utf-8" src="<%=request.getContextPath() %>/commonPackage/bizform/custom/js/base.js?v=2.4"></script> 

<link href="<%=request.getContextPath() %>/common_v2/css/New_UI_css/New_UI_Common.css?v=0" rel="stylesheet" type="text/css" />
<link href="<%=request.getContextPath()%>/common_v2/skins/styles/nui/themes/button.css" rel="stylesheet" type="text/css" />

<script>
	(function(){
		nui.context='<%=contextPath %>'
		mini_debugger = false;
	})();
	var data={};
	nui.DataTree.prototype.dataField='data';//ÃÂ¥aaa
	
	$(function(){  
		   $(".mini-button").hover(function(){  
		            var value=$(this).children('span').html();
		            $(this).attr("title",value);
		        },function(){  
		           
		        })  
		    })
		    
	//输入框为只读不可编辑状态时改变背景颜色成灰色	    
	$(function(){  
		   var inputs=$(":input");
		   /* debugger; */
		   
		  for(var i = 0; i < inputs.length; i++) {
		  	/* console.log(inp); */
		  	var inp=inputs[i];
		  	/* console.log(inp.readOnly); */
		    if(inp.readOnly==true){ 
		    	if(inp.className=="mini-buttonedit-input"){
		    		//排除下拉框
		    	}else{
		    		inp.style.backgroundColor = "#F9F9F9";
		    	}
		    	
		    }
		  }
		    
		    }) 	     
</script>
